﻿using FluentNHibernate.Testing;

namespace Cos.Module.Security.NHibernate.Tests
{
    using System.Collections.Generic;

    using Cos.Core.NHibernate;

    using NUnit.Framework;

    [TestFixture]
    public class AccountDataModelFixture : ModuleFixtureBase
    {
        [Test]
        public void CanMapAccountDataModel()
        {
            new PersistenceSpecification<AccountDataModel>(Session)
                .CheckProperty(x => x.AccountName, "acc")
                .CheckProperty(x => x.IsSystem, false)
                .VerifyTheMappings();
        }
    }
}
